package com.itheima.service.impl;

import com.itheima.dao.AccountDao;
import com.itheima.domain.Account;
import com.itheima.service.AccountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @program: Spring_day01_01_IOC入门程序
 * @description:
 * @author: xuejingjing
 * @create: 2021-08-03 20:06
 **/

@Service
public class AccountServiceImpl implements AccountService {


    @Autowired
    private AccountDao accountDao;
    public void save(Account account) {

    }

    public void delete(Integer id) {

    }

    public void update(Account account) {

    }

    public List<Account> findAll() {
        return accountDao.findAll();
    }

    public Account findById(Integer id) {
        return null;
    }
}
